<?php

class FlagCrudController extends Controller
{
	public $crdFlag;
	public function __construct()
	{
		$this->crdFlag= new crud_flag(); 
	}
	
	public function actionIndex()
	{
		$this->render('index');
	}
	
	public function actionGetAllFlag()
	{
		$this->crdFlag->getAllFlag();
	}
	
	public function actionInsert()
	{
		$this->crdFlag->insert();
	}
	
	public function actionUpdate()
	{
		$this->crdFlag->update();
	}
	
	public function actionDelete()
	{
		$this->crdFlag->delete();
	}
}